package com.lenovo.smarttraffic.zm;

import java.util.List;

public class DriveRouteBean {

    /**
     * route : {"origin":"116.603039,40.080525","destination":"116.322056,39.89491","paths":[{"distance":"39418","duration":"5699","strategy":"速度最快","tolls":"0","toll_distance":"0","steps":[{"instruction":"沿首都机场路向西北行驶 387 米","orientation":"西北","road":"首都机场路","distance":"387","tolls":"0","toll_distance":"0","toll_road":[],"duration":"83","polyline":"116.59333,40.079643;116.593109","action":"向左前方行驶","assistant_action":[]},"\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026"],"restriction":"0","traffic_lights":"11"}]}
     * ERRMSG : 成功
     * count : 1
     * infocode : 10000
     * RESULT : S
     * status : 1
     * info : OK
     */

    private RouteBean route;
    private String ERRMSG;
    private String count;
    private String infocode;
    private String RESULT;
    private String status;
    private String info;

    public RouteBean getRoute() {
        return route;
    }

    public void setRoute(RouteBean route) {
        this.route = route;
    }

    public String getERRMSG() {
        return ERRMSG;
    }

    public void setERRMSG(String ERRMSG) {
        this.ERRMSG = ERRMSG;
    }

    public String getCount() {
        return count;
    }

    public void setCount(String count) {
        this.count = count;
    }

    public String getInfocode() {
        return infocode;
    }

    public void setInfocode(String infocode) {
        this.infocode = infocode;
    }

    public String getRESULT() {
        return RESULT;
    }

    public void setRESULT(String RESULT) {
        this.RESULT = RESULT;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public static class RouteBean {
        /**
         * origin : 116.603039,40.080525
         * destination : 116.322056,39.89491
         * paths : [{"distance":"39418","duration":"5699","strategy":"速度最快","tolls":"0","toll_distance":"0","steps":[{"instruction":"沿首都机场路向西北行驶 387 米","orientation":"西北","road":"首都机场路","distance":"387","tolls":"0","toll_distance":"0","toll_road":[],"duration":"83","polyline":"116.59333,40.079643;116.593109","action":"向左前方行驶","assistant_action":[]},"\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026"],"restriction":"0","traffic_lights":"11"}]
         */

        private String origin;
        private String destination;
        private List<PathsBean> paths;

        public String getOrigin() {
            return origin;
        }

        public void setOrigin(String origin) {
            this.origin = origin;
        }

        public String getDestination() {
            return destination;
        }

        public void setDestination(String destination) {
            this.destination = destination;
        }

        public List<PathsBean> getPaths() {
            return paths;
        }

        public void setPaths(List<PathsBean> paths) {
            this.paths = paths;
        }

        public static class PathsBean {
            /**
             * distance : 39418
             * duration : 5699
             * strategy : 速度最快
             * tolls : 0
             * toll_distance : 0
             * steps : [{"instruction":"沿首都机场路向西北行驶 387 米","orientation":"西北","road":"首都机场路","distance":"387","tolls":"0","toll_distance":"0","toll_road":[],"duration":"83","polyline":"116.59333,40.079643;116.593109","action":"向左前方行驶","assistant_action":[]},"\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026"]
             * restriction : 0
             * traffic_lights : 11
             */

            private String distance;
            private String duration;
            private String strategy;
            private String tolls;
            private String toll_distance;
            private String restriction;
            private String traffic_lights;
            private List<StepsBean> steps;

            public String getDistance() {
                return distance;
            }

            public void setDistance(String distance) {
                this.distance = distance;
            }

            public String getDuration() {
                return duration;
            }

            public void setDuration(String duration) {
                this.duration = duration;
            }

            public String getStrategy() {
                return strategy;
            }

            public void setStrategy(String strategy) {
                this.strategy = strategy;
            }

            public String getTolls() {
                return tolls;
            }

            public void setTolls(String tolls) {
                this.tolls = tolls;
            }

            public String getToll_distance() {
                return toll_distance;
            }

            public void setToll_distance(String toll_distance) {
                this.toll_distance = toll_distance;
            }

            public String getRestriction() {
                return restriction;
            }

            public void setRestriction(String restriction) {
                this.restriction = restriction;
            }

            public String getTraffic_lights() {
                return traffic_lights;
            }

            public void setTraffic_lights(String traffic_lights) {
                this.traffic_lights = traffic_lights;
            }

            public List<StepsBean> getSteps() {
                return steps;
            }

            public void setSteps(List<StepsBean> steps) {
                this.steps = steps;
            }

            public static class StepsBean {
                /**
                 * instruction : 沿首都机场路向西北行驶 387 米
                 * orientation : 西北
                 * road : 首都机场路
                 * distance : 387
                 * tolls : 0
                 * toll_distance : 0
                 * toll_road : []
                 * duration : 83
                 * polyline : 116.59333,40.079643;116.593109
                 * action : 向左前方行驶
                 * assistant_action : []
                 */

                private String instruction;
                private String orientation;
                private String road;
                private String distance;
                private String tolls;
                private String toll_distance;
                private String duration;
                private String polyline;
                private String action;
                private List<?> toll_road;
                private List<?> assistant_action;

                public String getInstruction() {
                    return instruction;
                }

                public void setInstruction(String instruction) {
                    this.instruction = instruction;
                }

                public String getOrientation() {
                    return orientation;
                }

                public void setOrientation(String orientation) {
                    this.orientation = orientation;
                }

                public String getRoad() {
                    return road;
                }

                public void setRoad(String road) {
                    this.road = road;
                }

                public String getDistance() {
                    return distance;
                }

                public void setDistance(String distance) {
                    this.distance = distance;
                }

                public String getTolls() {
                    return tolls;
                }

                public void setTolls(String tolls) {
                    this.tolls = tolls;
                }

                public String getToll_distance() {
                    return toll_distance;
                }

                public void setToll_distance(String toll_distance) {
                    this.toll_distance = toll_distance;
                }

                public String getDuration() {
                    return duration;
                }

                public void setDuration(String duration) {
                    this.duration = duration;
                }

                public String getPolyline() {
                    return polyline;
                }

                public void setPolyline(String polyline) {
                    this.polyline = polyline;
                }

                public String getAction() {
                    return action;
                }

                public void setAction(String action) {
                    this.action = action;
                }

                public List<?> getToll_road() {
                    return toll_road;
                }

                public void setToll_road(List<?> toll_road) {
                    this.toll_road = toll_road;
                }

                public List<?> getAssistant_action() {
                    return assistant_action;
                }

                public void setAssistant_action(List<?> assistant_action) {
                    this.assistant_action = assistant_action;
                }
            }
        }
    }
}
